#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h> 
#include <stdlib.h> 
#include <string.h> 
#include <math.h> 
#include <ctype.h> 
#include <time.h> 
#include <assert.h>

int main()
{
	int d = 300000;
	int p = 6000;
	float r = 0.01;
	double m = 0;
	m = (log(p) - log(p - d * r)) / log(1 + r);
	printf("%.f", ceil(m));
	return 0;
}